<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>2.多维数组操作</title>
</head>
<body>
  <script>
    let array =[["hdcms"],["houdunren","cms"]];
    let lessons = [{name:'php',click:33}, { name: 'js', click: 99 }];
    console.log(array[1][1]);
    console.log(lessons[1].name);

    const arr =1;
    //arr =2; //不可以改，const固定内存地址

    const arr2 = [1,2];//可以改，虽然改了数组元素的值，但是内存地址没改变
    arr2[1] =3;
    console.log(arr2);
  </script>
</body>
</html>